package com.ms.banner.holder;

import ohos.agp.components.Component;
import ohos.app.Context;
import ohos.global.resource.NotExistException;
import ohos.global.resource.WrongTypeException;

import java.io.IOException;

public interface BannerViewHolder<T> {

    Component createView(Context context, int position, T data) throws NotExistException, WrongTypeException, IOException;

}
